package test916;

import java.util.Scanner;

public class myFor {
    public static void main(String[] args) {
        System.out.println("Please enter a number: ");
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        for(int i = 2; i <= num; i += 2)
        {
            System.out.println("number: " + i);
        }
    }
}
